<?php

namespace Plugins\shanyou;
include_once  "plugins/shanyou/lib.php";
include_once  "plugins/shanyou/config.php";
class notify
{
    public function __construct(){

    }

    public  function  validate($param){
        $lib = new lib();
        $sign = $lib->getValidateSign($param["taskDataRecord"],$param["userId"],$param["taskId"],$param["sdkUserId"],$param["taskDataMoney"],$param["taskDataRewardMoney"],$param["notifyCount"]);
        if($sign==$param["sign"]){
            return true;
        }
        return  false;
    }



}